package com.ikas.autumn.iec104.module.iec;

import com.ikas.autumn.iec104.module.protocol.ProtocolContext;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

/**
 * 启动初始化加载数据
 * @Date 2020-5-12 15:34
 */
@Slf4j
@Component
public class AfterIocInitialConfig implements ApplicationRunner {


    @Override
    public void run(ApplicationArguments args) {
        //开启104协议解析
        ProtocolContext.start();
    }


}
